package com.sie.plm.rpm.standar.vo;

import java.math.BigInteger;

public class RoleEnumDef {
    private String internalName;
    private String description;

    public void setInternalName(String internalName) {
        this.internalName = internalName;
    }

    private String displayName;
    private BigInteger poid;

    public void setDescription(String description) {
        this.description = description;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    public void setPoid(BigInteger poid) {
        this.poid = poid;
    }

    public void setPotype(String potype) {
        this.potype = potype;
    }

    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof RoleEnumDef)) return false;
        RoleEnumDef other = (RoleEnumDef) o;
        if (!other.canEqual(this)) return false;
        Object this$internalName = getInternalName(), other$internalName = other.getInternalName();
        if ((this$internalName == null) ? (other$internalName != null) : !this$internalName.equals(other$internalName))
            return false;
        Object this$description = getDescription(), other$description = other.getDescription();
        if ((this$description == null) ? (other$description != null) : !this$description.equals(other$description))
            return false;
        Object this$displayName = getDisplayName(), other$displayName = other.getDisplayName();
        if ((this$displayName == null) ? (other$displayName != null) : !this$displayName.equals(other$displayName))
            return false;
        Object this$poid = getPoid(), other$poid = other.getPoid();
        if ((this$poid == null) ? (other$poid != null) : !this$poid.equals(other$poid)) return false;
        Object this$potype = getPotype(), other$potype = other.getPotype();
        return !((this$potype == null) ? (other$potype != null) : !this$potype.equals(other$potype));
    }

    protected boolean canEqual(Object other) {
        return other instanceof RoleEnumDef;
    }

    public int hashCode() {
        int PRIME = 59,result = 1;
        Object $internalName = getInternalName();
        result = result * 59 + (($internalName == null) ? 43 : $internalName.hashCode());
        Object $description = getDescription();
        result = result * 59 + (($description == null) ? 43 : $description.hashCode());
        Object $displayName = getDisplayName();
        result = result * 59 + (($displayName == null) ? 43 : $displayName.hashCode());
        BigInteger $poid = getPoid();
        result = result * 59 + (($poid == null) ? 43 : $poid.hashCode());
        Object $potype = getPotype();
        return result * 59 + (($potype == null) ? 43 : $potype.hashCode());
    }

    public String toString() {
        return "RoleEnumDef(internalName=" + getInternalName() + ", description=" + getDescription() + ", displayName=" + getDisplayName() + ", poid=" + getPoid() + ", potype=" + getPotype() + ")";
    }


    public String getInternalName() {
        return this.internalName;
    }


    public String getDescription() {
        return this.description;
    }


    public String getDisplayName() {
        return this.displayName;
    }


    public BigInteger getPoid() {
        return this.poid;
    }


    private String potype = "ty.inteplm.enumeration.CTyEnumerationDef";

    public String getPotype() {
        return this.potype;
    }
}
